package by.grsu.pereverzev.entity;

import java.io.Serializable;
import java.util.List;

public class Passenger implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2755604282326672450L;
	private Long id;
	private String name;
	private List<Integer> applicationIdList;
	private List<Integer> billIdList;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String passengerName) {
		this.name = passengerName;
	}
	public List<Integer> getApplicationIdList() {
		return applicationIdList;
	}
	public void setApplicationIdList(List<Integer> applicationIdList) {
		this.applicationIdList = applicationIdList;
	}
	public List<Integer> getBillIdList() {
		return billIdList;
	}
	public void setBillIdList(List<Integer> billIdList) {
		this.billIdList = billIdList;
	}
	@Override
	public String toString() {
		return "Passenger [id=" + id + ", name=" + name
				+ ", applicationIdList=" + applicationIdList + ", billIdList="
				+ billIdList + "]";
	}
	
	
}
